home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / fsmakedev / RCS / fsmakedev.man,v < prev   
Text File  |  1990-11-24  |  2KB  |  72 lines

  1. head     1.1;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    shirriff:1.1; strict;
  6. comment  @@;
  7.  
  8.  
  9. 1.1
  10. date     90.11.23.21.23.22;  author shirriff;  state Exp;
  11. branches ;
  12. next     ;
  13.  
  14.  
  15. desc
  16. @@
  17.  
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @' $Header: /a/newcmds/prefix/RCS/prefix.man,v 1.2 88/12/30 10:08:40 ouster Exp $ SPRITE (Berkeley)
  26. .so \*(]ltmac.sprite
  27. .HS FSMAKEDEV cmds
  28. .BS
  29. .SH NAME
  30. fsmakedev \- Create a device file
  31. .SH SYNOPSIS
  32. \fBfsmakedev\fR [\fB-s\fI serverID\fR] [\fB-d\fI devType\fR] [\fB-u\fI unit\fR] [\fB-p\fI mode\fR]
  33. .SH "OPTIONS"
  34. .IP "\fB\-s \fIserverID\fR" 14
  35. The serverID is needed for devices attached to a particular host.  If not
  36. specified then the device created is a \fIcommon\fP device found on all hosts
  37. and the local instance of the device is used.  The serverID is a numeric
  38. hostID, not a name.
  39. .IP "\fB\-d\fI devType\fR" 14
  40. This specifies the type of the device.  This is a numeric value found in
  41. /sprite/src/kernel/dev/*.md/devTypesInt.h
  42. .IP "\fB\-u\fI unit\fR" 14
  43. The unit number of the device.
  44. .IP "\fB\-p\fI mode\fR" 14
  45. This specifies the permission bits of the device file.
  46. .BE
  47.  
  48. .SH DESCRIPTION
  49. .PP
  50. Fsmakedev creates a special device file that is a placeholder for
  51. a peripheral device.  The device file indicates the device type
  52. and a unit number.  It also indicates the location of the device.
  53. In Sprite devices are either \fIcommon\fP,
  54. which means that all hosts have them, or they are specific to a
  55. particular host.  When a common device is opened then the device
  56. attached to the local host is used.  Otherwise the serverID in the
  57. device file indicates where the device is.  The default is for
  58. a common device file to be created.  Use the \fB-s\fP option to
  59. specific the serverID for devices attached to a particular host.
  60. By convention common devices are found in the /dev directory,
  61. and specific devices are in the /hosts/\fIhostname\fP/dev directory.
  62. .SH BUGS
  63. .PP
  64. The device type is a magic number found in the
  65. /sprite/src/kernel/dev/*.md/devTypesInt.h file.
  66. The serverID is a numeric hostID, not a hostname.
  67. .SH SEE ALSO
  68. fsmakenetdev
  69. .SH KEYWORDS
  70. device
  71. @
  72.